//
//  PlaylistNavigation.m
//  KaraList
//
//  Created by Khang Nguyen on 7/26/12.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

#import "PlaylistNavigation.h"
#import "PlaylistViewController.h"

@interface PlaylistNavigation ()

@end

@implementation PlaylistNavigation

- (id)init
{
        PlaylistViewController *root = 
        [[PlaylistViewController alloc] init];
        
        if (self = [super initWithRootViewController:root]) 
        {
            //            CustomTabBarItem *tabItem = [[CustomTabBarItem alloc] initWithTitle:nil image:nil tag:4];
            //            tabItem.customHighlightedImage = [UIImage imageFromBundleResource:@"navi_category_over.png"];
            //            tabItem.customStdImage = [UIImage imageFromBundleResource:@"navi_category.png"];
            //            self.tabBarItem = tabItem;
            //            
            //            [tabItem release];
            //            tabItem = nil;
            self.tabBarItem.image = [UIImage imageNamed:@"second"];
            self.tabBarItem.title = @"Playlist";
        }
        [root release];
        return self;
}

- (void)viewDidLoad
{
    [super viewDidLoad];
	// Do any additional setup after loading the view.
}

- (void)viewDidUnload
{
    [super viewDidUnload];
    // Release any retained subviews of the main view.
}

- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
{
    return (interfaceOrientation == UIInterfaceOrientationPortrait);
}

@end
